package com.blb.service.serviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.blb.dto.ZZhubo;
import java.util.List;
import com.blb.dao.ZZhuboMapper;
import com.blb.dto.ZZhuboExample;
import com.blb.service.ZZhuboService;

@Service
public class ZZhuboServiceImpl implements ZZhuboService {

    @Resource
    private ZZhuboMapper zZhuboMapper;

    @Override
    public long countByExample(ZZhuboExample example) {
        return zZhuboMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(ZZhuboExample example) {
        return zZhuboMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer zid) {
        return zZhuboMapper.deleteByPrimaryKey(zid);
    }

    @Override
    public int insert(ZZhubo record) {
        return zZhuboMapper.insert(record);
    }

    @Override
    public int insertSelective(ZZhubo record) {
        return zZhuboMapper.insertSelective(record);
    }

    @Override
    public List<ZZhubo> selectByExample(ZZhuboExample example) {
        return zZhuboMapper.selectByExample(example);
    }

    @Override
    public ZZhubo selectByPrimaryKey(Integer zid) {
        return zZhuboMapper.selectByPrimaryKey(zid);
    }

    @Override
    public int updateByExampleSelective(ZZhubo record, ZZhuboExample example) {
        return zZhuboMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(ZZhubo record, ZZhuboExample example) {
        return zZhuboMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(ZZhubo record) {
        return zZhuboMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ZZhubo record) {
        return zZhuboMapper.updateByPrimaryKey(record);
    }

}



